import http from "@/utils/http";

//获取一级标题
export function getOneTitle(){
  return http({url:"/category/top"})
}
//获得二级标签
export function getTwoTitle(data){
  console.log(data,"拿到的id")
  return http({url:"/category",data})
}